package ase.eleitweg;

import com.google.inject.AbstractModule;
import com.google.inject.*;

import ase.eleitweg.server.*;

public class LocalModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(UserManager.class).to(UserController.class).in(Scopes.SINGLETON);
		bind(WorkflowManager.class).to(WorkflowController.class).in(Scopes.SINGLETON);
		bind(RunManager.class).to(RunController.class).in(Scopes.SINGLETON);
		bind(AdminLoginInterface.class).to(AdminLoginController.class).in(Scopes.SINGLETON);
		bind(UserLoginInterface.class).to(UserLoginController.class).in(Scopes.SINGLETON);
		bind(ServerUserHandle.class).to(ServerUserController.class);
		bind(ServerAdminHandle.class).to(ServerAdminController.class);
	}

}
